<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="com.hrms.pojo.InviteJob" %>
<%@ page import="java.util.List" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>所有招聘信息</title>
</head>
<script type="text/javascript" src="<%=request.getContextPath() %>/jquery-3.1.1.min.js"></script>
<script type="text/javascript">
	function isDel(){
		return confirm("确定删除吗？");
	}
</script>

<body>
	<table align="center" border="1px" style="border-collapse:collapse;">
		<caption style="font-size:30px;font:bold;">招聘信息详细信息</caption>
		<tr>
			<th>id</th>
			<th>姓名</th>
			<th>性别</th>
			<th>年龄</th>
			<th>出生日期</th>
			<th>工作</th>
			<th>专业</th>
			<th>经历</th>
			<th>学历</th>
			<th>毕业学校</th>
			<th>联系电话</th>
			<th>地址</th>
			<th>创建时间</th>
			<th>备注</th>
			<th>是否聘请</th>
			<th>操作</th>
		</tr>
		<c:forEach items="${inviteJobList }" var="item">
	     <tr>
	     	<td>${item.id}</td>
	     	<td>${item.name }</td>
	     	<td>${item.sex }</td>
	     	<td>${item.age }</td>
	     	<td>${item.born }</td>
	     	<td>${item.job }</td>
	     	<td>${item.specialty }</td>
	     	<td>${item.experience }</td>
	     	<td>${item.education }</td>
	     	<td>${item.graduateSchool }</td>
	     	<td>${item.tel }</td>
	     	<td>${item.address }</td>
	        <td>${item.createTime }</td>
	     	<td>${item.remarks }</td>
	     	<td>${item.isHire }</td>
	     	<td>
	     		<a href="<%=request.getContextPath()%>/invitejob/alter_invite?inId=${item.id}">修改</a>
	     		<a href="<%=request.getContextPath()%>/invitejob/${item.id }/delete" onclick="return isDel()">删除</a>
	     	</td>
	     </tr>
	     </c:forEach>
	</table>
	<div>
		<a href="<%=request.getContextPath()%>/admin/function">返回功能页面</a>
	</div>
</body>
</html>